package com.zxx.pattern.commandPattern.command2;

/**
 * @author zxx on 2021/3/4
 */
public class CommandOpenTv implements Command {

    private Television tv;

    public CommandOpenTv() {
        tv = new Television();
    }

    @Override
    public void execute() {
        tv.open();
    }
}
